package com.zego.wawaji.ui.bean.wawa;

import com.zego.wawaji.base.data.BaseData;

import org.json.JSONArray;

import java.util.ArrayList;
import java.util.List;

/**
 * 用户娃娃列表
 * Created by Su on 2017/12/1.
 */
public class MyWawaList extends BaseData {
    private List<MyWawa> myWawaList = new ArrayList<>();

    @Override
    public void parseJson(String jsonStr) {
        JSONArray jsonArray = getJsonArray(jsonStr);
        this.myWawaList = (List<MyWawa>) getBaseDataList(jsonArray, MyWawa.class);
    }

    public List<MyWawa> getMyWawaList() {
        return myWawaList;
    }
}
